package com.cloud.easy.im.argeement.client;

/**
 * 客户端返回登陆请求体
 * @author wangjian
 * @version 0.1.0
 * @create 2020年09月07日5:22 下午
 */
public class LoginInfo {

    /**
     * 当前用户userId，由平台登陆时返回
     */
    private String loginUserId = null;
    /**
     * 当前用户Token，由平台登陆时返回
     */
    private String loginToken = null;
    /**
     * 扩展字段
     */
    private String extra = null;

    public LoginInfo(String loginUserId, String loginToken, String extra) {
        this.loginUserId = loginUserId;
        this.loginToken = loginToken;
        this.extra = extra;
    }

    public String getLoginUserId() {
        return loginUserId;
    }

    public void setLoginUserId(String loginUserId) {
        this.loginUserId = loginUserId;
    }

    public String getLoginToken() {
        return loginToken;
    }

    public void setLoginToken(String loginToken) {
        this.loginToken = loginToken;
    }

    public String getExtra() {
        return extra;
    }

    public void setExtra(String extra) {
        this.extra = extra;
    }

    @Override
    public String toString() {
        return "LoginInfo{" +
                "loginUserId='" + loginUserId + '\'' +
                ", loginToken='" + loginToken + '\'' +
                ", extra='" + extra + '\'' +
                '}';
    }
}
